package com.xbongbong.pro.smartsettings.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @description: 智能助手字段pojo
 * @Author: hongxiao
 * @date: 2019-04-24 10:47
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class SmartFieldAttrPojo implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 字段别名
     */
    private String attr;
    /**
     * 字段名称
     */
    private String attrName;
    /**
     * 字段类型
     */
    private Integer fieldType;
    /**
     * 是否允许可见 1:允许 0：不允许
     */
    private Integer visible;

    public SmartFieldAttrPojo () {
        // 默认可见
        this.visible = 1;
    }
}
